// 登陆入口
const login = () => import('@/views/login/index');

// 隐私协议
const privacy = () => import('@/views/login/privacy');

// 用户协议
const service = () => import('@/views/login/service');

// 手机号登录
const phoneLogin = () => import('@/views/login/phone-login');

// 手机号注册
const register = () => import('@/views/login/register');

// 验证码登录
const codeLogin = () => import('@/views/login/code-login');

// 安全检测
const forgetPassword = () => import('@/views/login/forget-password');

export default [
    {
        path: '/login',
        meta: {
            title: '登录'
        },
        name: 'login',
        component: login
    },
    {
        path: '/privacy',
        meta: {
            title: '隐私协议'
        },
        name: 'privacy',
        component: privacy
    },
    {
        path: '/service',
        meta: {
            title: '用户协议'
        },
        name: 'service',
        component: service
    },
    {
        path: '/phone-login',
        meta: {
            title: '手机号登录'
        },
        name: 'phoneLogin',
        component: phoneLogin
    },
	{
	    path: '/register',
	    meta: {
	        title: '手机号注册'
	    },
	    name: 'register',
	    component: register
	},
	{
		path: '/code-login',
		meta: {
		    title: '验证码登录'
		},
		name: 'codeLogin',
		component: codeLogin
	},
	{
		path: '/forget-password',
		meta: {
		    title: '安全检测'
		},
		name: 'forgetPassword',
		component: forgetPassword
	}
]